package cn.com.css.taxInspection.system.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

@EqualsAndHashCode(callSuper = true)
@Data
@TableName("kf_jicha_helper.sys_user")
public class SysUser extends BaseEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	@TableId
	private String id;
	@NotBlank(message = "账号不能为空")
	private String username;
	private String salt;
	@NotBlank(message = "密码不能为空")
	private String password;
	@TableField(exist = false)
	private String oldPwd;
	@TableField(exist = false)
	private String newPwd;
	private String phone;
	private String deptId;
	@TableField(exist = false)
	private String deptName;
	@TableField(exist = false)
	private String deptNo;
	private String realName;
	private String nickName;
	private String email;
	private Integer status;
	private Integer sex;
	@TableField(fill = FieldFill.INSERT)
	private Integer deleted;
	@TableField(fill = FieldFill.INSERT)
	private String createId;
	@TableField(fill = FieldFill.UPDATE)
	private String updateId;
	private Integer createWhere;
	@TableField(fill = FieldFill.INSERT)
	private Date createTime;
	@TableField(fill = FieldFill.INSERT_UPDATE)
	private Date updateTime;
	@TableField(exist = false)
	private String startTime;
	@TableField(exist = false)
	private String endTime;
	@TableField(exist = false)
	private List<String> roleIds;
	@TableField(exist = false)
	private String Captcha;
	@TableField(exist = false)
    private String  sfswjgDm;
	@TableField(exist = false)
    private String rysfmc;
	@TableField(exist = false)
    private String swrysfDm;
	@TableField(exist = false)
    private String sfswjgDm1;
	@TableField(exist = false)
    private String rysfmc1;
	@TableField(exist = false)
    private String swrysfDm1;
	@TableField(exist = false)
    private String swryxm;
	
}